package org.wlgzs.shop.bean;

import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class PersonAdvice {

    /**
     *
     *id
     */
    private Integer id;

    /**
     *
     *留言人名称
     */
    @NotNull
    private String userName;

    /**
     *
     *商品名称
     */
    @NotNull
    private String goodsName;

    /**
     *
     *留言信息
     */
    @NotNull
    private String writtenData;

    /**
     *
     *留言时间
     */
    @NotNull
    private String writtenTime;

    /**
     *
     *首发/回复
     */
    @NotNull
    private Boolean backWordPower;

    /**
     *
     *被回复人名
     */
    private String backWordName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getWrittenData() {
        return writtenData;
    }

    public void setWrittenData(String writtenData) {
        this.writtenData = writtenData == null ? null : writtenData.trim();
    }

    public String getWrittenTime() {
        return writtenTime;
    }

    public void setWrittenTime(String writtenTime) {
        this.writtenTime = writtenTime == null ? null : writtenTime.trim();
    }

    public Boolean getBackWordPower() {
        return backWordPower;
    }

    public void setBackWordPower(Boolean backWordPower) {
        this.backWordPower = backWordPower;
    }

    public String getBackWordName() {
        return backWordName;
    }

    public void setBackWordName(String backWordName) {
        this.backWordName = backWordName == null ? null : backWordName.trim();
    }
}